
package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.bean.BpTypeBean;
import com.joysuch.wwyt.bp.bean.facility.BpProductionFacilityTypeBean;
import com.joysuch.wwyt.bp.bean.facility.BpProductionFacilityTypeDto;
import com.joysuch.wwyt.bp.entity.BpProductionFacilityType;

import java.util.List;

public interface BpProductionFacilityTypeService {
    List<BpProductionFacilityType> list();

    BpProductionFacilityType add(BpProductionFacilityTypeBean bean);

    void edit(BpProductionFacilityTypeBean bean);

    BpProductionFacilityTypeDto getById(Long id);

    void delete(Long id);

    List<BpTypeBean> getPage();

    public List<BpProductionFacilityTypeDto> tree();

    List<Long> findChildrenIdList(Long parentId);

    List<BpProductionFacilityType> findList(String companyCode);

}
